package com.espirit.weixin.core;

import com.espirit.weixin.message.BaseMessage;
import com.googlecode.cswish.annotation.GenericType;
import com.googlecode.cswish.annotation.Rest;

public interface IWeiXinService {
	
	@Rest(simpleServiceName = "anonymity", type = "free")
	String handleMessage(@GenericType(GenericType.PARAM_MODEL)BaseMessage message);

	@Rest(simpleServiceName = "anonymity", type = "free")
	String checkSignature(String signature,String timestamp,String nonce,String echostr);
}
